using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;

public class ItemBackpack : ItemData
{
	public List<ItemCollector> Items = new List<ItemCollector>();

	public string SyncItemdata;

	public void SetDropItem(string itemdata)
	{
		SyncItemdata = itemdata;
	}

	public override void Pickup(GameObject character)
	{
		character.SendMessage("PickupItemBackpackCallback", this);
		RemoveItem();
	}

	private void UNetVersion()
	{
	}

	public override bool OnSerialize(NetworkWriter writer, bool forceAll)
	{
		bool flag = base.OnSerialize(writer, forceAll);
		bool flag2 = default(bool);
		return flag2 | flag;
	}

	public override void OnDeserialize(NetworkReader reader, bool initialState)
	{
		base.OnDeserialize(reader, initialState);
	}
}
